#ifndef WORKER_H
#define WORKER_H
/* #include "tips.h" */
#include "epoll.h"
#include "thread_pool.h"
#include "communicate.h"
#include "mysql_info.h"
#include <my_header.h>
/* #include "cmd.h" */
/* #include "dir.h" */
#include "stack.h"
#include "getput.h"
#include "cmd.h"
#include "cdir.h"
char random_char();
char* generate_salt_sha512(int rounds,char *salt,int salt_size);
char* encrypt_password(const char* password, char *salt);
int verify_password(const char* input, const char* stored_hash);
void * thread_func(void * arg);
int create_worker(thread_pool_info_t * pthread_pool);
int check_disconnect(ssize_t size,int * do_work_flag);
#endif
